<?php
$last_line = exec('/a8root/app_builder/scripts/android/android_pack_script/pack/carapace_apk_list_pack.sh test feature-dev-5.5.7,feature-bytedance-5.5.8,dev-special-cc-multi lookforlove',$output);
$last_line = exec('dir',$output);
$date = date("Y-m-d",time());
$time_start = date("Y-m-d H:i:s",time());
file_put_contents("./logs/{$date}.log","========================================本次日志开始{$time_start}=========================================\n\n",FILE_APPEND);
foreach ($output as $item) {
    file_put_contents("./logs/{$date}.log",$item."\n",FILE_APPEND);
    print_r($item."\n");
}
$time_end = date("Y-m-d H:i:s",time());
file_put_contents("./logs/{$date}.log","\n========================================本次日志结束{$time_end}=========================================\n\n",FILE_APPEND);
